package com.iddaa.core.exception;

@SuppressWarnings("serial")
public abstract class IddaaException extends RuntimeException implements ErrorCode {

	private int code;

	public IddaaException(int code, String message) {
		super(message);
		this.code = code;
	}

	public int getCode() {
		return code;
	}
}
